.bgBox {
  padding-top: 88rpx;
  padding-bottom: 280rpx;
  .listBox {
    margin-top: 30rpx;
    padding: 0 30rpx;
  }
  // 头部
  .titleBox {
    .title {
      font-size: 32rpx;
      font-weight: 600;
    }
    .dec {
      font-size: 24rpx;
      font-weight: 400;
      margin-left: 32rpx;
      color: #999;
    }
    .history {
      line-height: 88rpx;
      float: right;
    }
  }
  // 患者信息
  .patient {
    .at-input {
      margin: 0;
      padding: 30rpx 0;
      border-bottom: 2rpx solid #f7f7f7;
      .pickerCont {
        float: right;
      }
      .at-input__input {
        font-size: 28rpx;
        font-weight: 400;
        text-align: right;
        color: #999;
      }
      .at-input__title {
        font-size: 28rpx;
        font-weight: 400;
      }
    }
  }
  // 牙位
  .tooth {
    line-height: 80rpx;
    .toothTitle {
      display: inline-block;
      margin-right: 40rpx;
    }
    .toothList {
      display: inline-block;
      text {
        font-size: 24rpx;
        margin-right: 20rpx;
        color: #4c78ff;
      }
    }
    .fontBlue {
      line-height: 80rpx;
      float: right;
    }
  }
  // 医生信息
  .doctor {
    line-height: 172rpx;
    image {
      width: 116rpx;
      height: 116rpx;
      vertical-align: middle;
      border-radius: 50%;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
    }
    .name {
      display: inline-block;
      margin-left: 16rpx;
      vertical-align: middle;
    }
    .send {
      line-height: 172rpx;
      float: right;
    }
  }
  // 诊断资料/诊断方案
  .information {
    .at-tabs__underline {
      height: 2rpx;
      background-color: #f7f7f7;
    }
    .at-tabs__header {
      font-size: 28rpx;
      line-height: 88rpx;
      text-align: unset;
      .at-tabs__item {
        width: 33.3333%;
        padding: 0;
        color: #999;
        .at-tabs__item-underline {
          position: absolute;
          bottom: 0;
          left: 48rpx;
          width: 20rpx;
          height: 4rpx;
          // margin-left: -10rpx;
          background-color: #4c78ff;
        }
      }
      .at-tabs__item--active {
        font-size: 32rpx;
        font-weight: 600;
        color: #4c78ff;
      }
      .at-tabs__item:nth-child(2) {
        text-align: center;
        .at-tabs__item-underline {
          position: absolute;
          bottom: 0;
          left: 46%;
          width: 20rpx;
          height: 4rpx;
          // margin-left: -10rpx;
          background-color: #4c78ff;
        }
      }
      .at-tabs__item:nth-child(3) {
        text-align: right;
        .at-tabs__item-underline {
          position: absolute;
          bottom: 0;
          left: 66%;
          width: 20rpx;
          height: 4rpx;
          // margin-left: -10rpx;
          background-color: #4c78ff;
        }
      }
    }
    // 患者主诉
    .mainSuit {
      line-height: 158rpx;
      padding: 30rpx 0;
      .at-textarea {
        margin-top: 16rpx;
        padding: 0;
        border: 0rpx;
        border-radius: 0;
        background: rgba(153, 153, 153, 0.1);
        .at-textarea__textarea {
          font-size: 24rpx;
          padding: 20rpx;
          color: #999;
        }
      }
      .font {
        margin-top: 24rpx;
      }
    }
    // 资料上传
    .dataUpload {
      .title {
        padding-top: 30rpx;
        .font {
          line-height: 40rpx;
          margin-left: 24rpx;
        }
      }
      .upload {
        .fontBold {
          margin-right: 24rpx;
          padding-bottom: 12rpx;
          color: #fff;
        }
        .font {
          margin-top: 16rpx;
        }
        .img {
          display: flex;
          flex-wrap: wrap;
          margin-left: -16rpx;
          padding-top: 16rpx;
          .at-image-picker__item {
            image {
              border-radius: 12px;
            }
          }
          .at-image-picker__choose-btn {
            border: 4rpx dashed #87a5ff;
            border-radius: 12rpx;
            .add-bar {
              width: 40rpx;
              background-color: #4c78ff;
            }
          }
        }
      }
    }
    // 血压血糖
    .blood {
      padding-top: 30rpx;
      padding-bottom: 30rpx;
      .at-row {
        margin-top: 24rpx;
        .at-col-6:nth-child(1) {
          box-sizing: border-box;
          padding-right: 15rpx;
        }
        .at-col-6:nth-child(2) {
          box-sizing: border-box;
          padding-left: 15rpx;
        }
        .bloodInput {
          box-sizing: border-box;
          padding: 0 24rpx 0 20rpx;
          border-radius: 4px;
          background-color: rgba(153, 153, 153, 0.1);
          .at-input {
            position: unset;
            margin: 0;
            padding: 0;
            background-color: transparent;
          }
          .at-input input {
            font-size: 24rpx;
            height: 72rpx;
            color: #999;
          }
          view {
            font-size: 24rpx;
            font-weight: 400;
            line-height: 72rpx;
          }
        }
      }
    }
    // 科室
    .department {
      padding-bottom: 30rpx;
      .fontBold {
        line-height: 102rpx;
      }
      .departmentList {
        display: flex;
        overflow: auto;
        align-items: flex-start;
        white-space: nowrap;
        .active {
          color: #4c78ff;
          .departmentItemImg {
            border: 2rpx solid #4c78ff;
            background-color: #fafbff;
          }
        }
        .departmentItem {
          display: inline-block;
          width: 128rpx;
          margin-left: 16rpx;
          text-align: center;
          border-radius: 12px;
          .departmentItemImg {
            width: 128rpx;
            height: 128rpx;
            overflow: hidden;
            border-radius: 12rpx;
            position: relative;
            image {
              width: 60rpx;
              height: 60rpx;
              padding: 34rpx;
              border: 2rpx solid #f7f7f7;
            }
          }
          .name {
            font-size: 24px;
            font-weight: 500;
            line-height: 34px;
            margin-top: 20rpx;
          }
        }
      }
    }
    // 手术
    .operation {
      padding-top: 30rpx;
      .fontBold {
        .iconfont {
          font-size: 28rpx;
          display: inline-block;
          margin-left: 12rpx;
          color: #e66621;
        }
      }
      .operationList {
        padding-bottom: 32rpx;
      }
    }
    // 相似案例
    .plan {
      .label {
        .fontBold {
          line-height: 102rpx;
          display: inline-block;
        }
        .select {
          float: right;
        }
      }
      .font {
        padding-bottom: 18rpx;
      }
      .planImg {
        image {
          display: block;
          width: 280rpx;
          height: 280rpx;
          margin-bottom: 30rpx;
          border-radius: 12px;
        }
      }
    }
    // 备注
    .remarks {
      padding-bottom: 42rpx;
    }
  }
  // 总就诊次数
  .totalTimes {
    .fontBold {
      line-height: 96rpx;
      .font {
        line-height: 96rpx;
        float: right;
      }
    }
    .totalTimesCost {
      .fontBold,
      .title {
        font-size: 24rpx;
        line-height: 34rpx;
        view {
          font-weight: 400;
          float: right;
          color: #4c78ff;
        }
      }
      .at-input-number {
        border: none;
        .at-input-number__btn {
          line-height: 28rpx;
          width: 28rpx;
          height: 28rpx;
          padding: 0;
          text-align: center;
          border: 2rpx solid #4c78ff;
          border-radius: 12rpx;
          .at-input-number__btn-subtract,
          .at-input-number__btn-add {
            font-size: 20rpx;
            font-weight: 500;
          }
        }
        .at-input-number__input {
          font-size: 28rpx;
          font-weight: 500;
          width: 62rpx;
          margin-top: -4rpx;
          vertical-align: middle;
          color: #333;
          border: none;
        }
        .at-input-number--disabled {
          border-color: #d8d8d8;
          .at-input-number__btn-subtract,
          .at-input-number__btn-add {
            color: #d8d8d8;
          }
        }
      }
      .otExpenses {
        padding-bottom: 40rpx;
        .otExpensesList {
          margin-top: 20rpx;
          .otExpensesDec {
            box-sizing: border-box;
            margin-right: 20rpx;
            padding: 0 30rpx;
            background-color: rgba(153, 153, 153, 0.1);
            .font {
              line-height: 72rpx;
            }
          }
          .otExpensesDlt {
            position: relative;
            padding-right: 46rpx;
            .iconfont {
              font-size: 28rpx;
              position: absolute;
              right: -6rpx;
              bottom: 0;
              color: #e66621;
            }
          }
        }
      }
      .total {
        padding-bottom: 28rpx;
        text-align: right;
      }
    }
  }
  // 页脚
  .footer {
    position: fixed;
    z-index: 150;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 0 30rpx;
    border-top: 1rpx solid #f0f2f5;
    background-color: #fff;
    box-shadow: 0 -4px 8px 0 rgba(76, 120, 255, 0.05);
    .saveFooter {
      width: 100%;
      padding: 14rpx 0;
      .font {
        line-height: 88rpx;
      }
      .saveBtn {
        font-size: 28rpx;
        line-height: 88rpx;
        padding: 0 80rpx;
        color: #fff;
        border-radius: 50rpx;
        background-color: #4c78ff;
      }
    }
    .dtFooter {
      padding: 20rpx 0;
      .payWay {
        font-size: 20rpx;
        color: #666;
      }
      .dtlBtn {
        margin-top: 8rpx;
        text-align: right;
      }
    }
    .btn {
      font-size: 24rpx;
      font-weight: 600;
      line-height: 72rpx;
      text-align: center;
      color: #fff;
      border-radius: 50px;
      background: #4c78ff;
      box-shadow: 0 8px 16px 0 rgba(76, 120, 255, 0.08);
    }
  }
  //价格明细
  .sheet {
    overflow: auto;
    max-height: 90vh;
    padding: 0 30rpx;
    .sheetTitle {
      padding: 30rpx 0 10rpx 0;
      .iconfont {
        font-size: 16rpx;
        display: inline-block;
        margin-left: 12rpx;
      }
    }
    .sheetCont {
      text-align: left;
      .fontbold {
        line-height: 40rpx;
        padding-top: 32rpx;
        padding-bottom: 24rpx;
        .fontBlue {
          line-height: 40rpx;
          float: right;
        }
      }
      .sheetName {
        font-weight: 500;
        color: #333;
      }
      .sheetTooth {
        line-height: 96rpx;
        padding: 0 26rpx;
        .sheetNum {
          line-height: 96rpx;
          float: right;
        }
      }
      .discount {
        .at-col-6:nth-child(1) {
          box-sizing: border-box;
          padding-right: 15rpx;
        }
        .at-col-6:nth-child(2) {
          box-sizing: border-box;
          padding-left: 15rpx;
        }
        .discountSelect {
          padding: 0 20rpx;
          background-color: rgba(153, 153, 153, 0.1);
          view {
            line-height: 72rpx;
            display: inline-block;
          }
          .iconfont {
            font-size: 24rpx;
            float: right;
          }
        }
        .preferential {
          position: relative;
          .at-input {
            margin: 0;
            padding: 0;
            input {
              font-size: 24rpx;
              line-height: 72rpx;
              height: 72rpx;
              padding: 0 20rpx;
              color: #999;
              background-color: rgba(153, 153, 153, 0.1);
            }
          }
          .preferentialIcon {
            font-size: 24rpx;
            line-height: 72rpx;
            position: absolute;
            top: 0;
            right: 20rpx;
          }
        }
      }
      .payment {
        padding-bottom: 280rpx;
        .add {
          text-align: center;
        }
        .payMentOne {
          font-size: 24rpx;
          line-height: 72rpx;
          margin-bottom: 20rpx;
          padding: 0 20rpx;
          color: #999;
          background-color: rgba(153, 153, 153, 0.1);
          .oneOrder,
          .oneNum,
          .oneType {
            display: inline-block;
          }
          .oneNum {
            margin-left: 20rpx;
          }
          .oneType {
            float: right;
            .at-input {
              display: inline-block;
              width: 100rpx;
              margin: 0;
              padding: 0;
              background-color: transparent;
              input {
                font-size: 24rpx;
                // line-height: 70rpx;
                height: 70rpx;
                padding: 0;
                text-align: right;
                color: #999;
              }
              .at-input--disabled {
                opacity: unset;
              }
            }
          }
        }
        .iconfont {
          font-size: 28rpx;
          line-height: 72rpx;
          text-align: right;
          color: #e66621;
        }
      }
    }
    .footer {
      .dtFooter {
        text-align: left;
      }
      .saveBtn {
        margin-left: 13rpx;
      }
      .clearBtn {
        font-size: 28rpx;
        line-height: 88rpx;
        margin-right: 13rpx;
        padding: 0 80rpx;
        color: #979797;
        border: 2rpx solid #979797;
        border-radius: 50rpx;
      }
    }
  }
  // 折扣弹窗
  .at-modal__container {
    border-radius: 12px;
    .at-modal__content {
      padding: 0;
    }
  }
  .sheetModal {
    padding: 0 30rpx;
    padding-bottom: 30rpx;
    .modalTitle {
      font-size: 36rpx;
      font-weight: 600;
      line-height: 110rpx;
      text-align: center;
      .iconfont {
        font-size: 28rpx;
        float: right;
      }
    }
    .modalList {
      .modalItem {
        font-size: 28rpx;
        line-height: 80rpx;
        padding: 0 20rpx;
        text-align: left;
        color: #666;
        border-radius: 4rpx;
        .iconfont {
          font-size: 28rpx;
          float: right;
        }
      }
      .active {
        color: #4c78ff;
        background-color: rgba(76, 120, 255, 0.06);
        .iconfont {
          color: #4c78ff;
        }
      }
    }
  }
}
// 小计
.total {
  font-size: 24rpx;
  margin-top: 8rpx;
  color: #333;
  .totalNum {
    font-size: 40rpx;
    font-weight: 500;
    display: inline;
    margin-left: 12rpx;
    padding-bottom: 20rpx;
    color: #e66621;
  }
}
// 下滑出弹窗
.float {
  .at-float-layout__container {
    box-sizing: border-box;
    padding: 30rpx;
    border-radius: 12px 12px 0 0;
    .layout-header {
      font-size: 36rpx;
      font-weight: bold;
      padding: 0;
      background-color: transparent;
      .layout-header__btn-close {
        right: 0;
        padding: 0;
      }
    }
    .layout-body {
      padding: 0;
      .fontBold {
        line-height: 72rpx;
      }
      .floatInput {
        margin-top: 40rpx;
      }
    }
  }
  .floatBtn {
    z-index: 1000;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: 14rpx 17rpx;
    box-shadow: 0 -4px 8px 0 rgba(76, 120, 255, 0.05);
    view {
      font-size: 28rpx;
      line-height: 88rpx;
      flex: 1;
      margin: 0 13rpx;
      text-align: center;
      border-radius: 50px;
    }
    .btnNo {
      color: #979797;
      border: 2px solid #979797;
    }
    .btnOk {
      color: #fff;
      background: #4c78ff;
      box-shadow: 0 8px 16px 0 rgba(76, 120, 255, 0.08);
    }
  }
}
// 会诊、用户查看
.showList {
  .operation {
    padding-bottom: 30rpx;
    .operationList {
      padding-bottom: 0;
    }
    .num {
      float: right;
    }
  }
}
.at-input::after {
  border-bottom: 0rpx;
  border-bottom-width: 0;
}
